package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电汇回执单对象 electronic_receipt
 *
 * @author zk
 * @date 2025-09-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class ElectronicReceipt extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 发生金额
     */
    @Excel(name = "发生金额")
    private String txnAmt;

    /**
     * 余额
     */
    @Excel(name = "余额")
    private String avlBal;

    /**
     * 付款人
     */
    @Excel(name = "付款人")
    private String acntName;

    /**
     * 收款人
     */
    @Excel(name = "收款人")
    private String toName;

    /**
     * 摘要
     */
    @Excel(name = "摘要")
    private String furInfo;

    /**
     * 交易日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交易日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date txnDate;

    /**
     * 流水号
     */
    @Excel(name = "流水号")
    private String vchNum;

    /**
     * 付款账号
     */
    @Excel(name = "付款账号")
    private String fkActAcn;

    /**
     * 收款账号
     */
    @Excel(name = "收款账号")
    private String skActAcn;

    /**
     * 文件名称
     */
    @Excel(name = "文件名称")
    private String fileName;

    /**
     * 输入日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "输入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inputDate;

    /**
     * 凭证号码(票据号码)
     */
    @Excel(name = "凭证号码(票据号码)")
    private String vouchNum;

    /**
     * 预留项4(子票区间，附言)
     */
    @Excel(name = "预留项4(子票区间，附言)")
    private String reserve4;


}
